<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link type="text/css" rel="stylesheet" href="js/css/bootstrap.css">
<script type="text/javascript" src="js/js/jquery-1.11.1.js">
	
</script>
<script type="text/javascript" src="js/js/bootstrap.js">
	
</script>

<style type="text/css">
body {
	background-image:
		url("${ pageContext.request.contextPath }/files/2.jpg");
	width: 80%;
	text-align: center;
	margin: 0 auto;
}

.popover {
	min-width: 150px;
}

.error {
	border: 1px red dashed;
}

label.error {
	border: none;
	color: red;
	position: absolute;
	top: 8px;
	right: 20px;
}

table {
	display: table;
	border-collapse: separate;
	border-spacing: 2px;
	border-color: black;
	font: 9px Verdana, "Lucida Grande", Tahoma, Geneva, Arial, Helvetica,
		sans-serif;
}

tbody {
	display: table-row-group;
	vertical-align: middle;
	border-color: inherit;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

td.label {
	padding: 0.1em 0.5em;
	white-space: nowrap;
	line-height: 100%;
	background-color: black;
}

td, th {
	display: table-cell;
	vertical-align: inherit;
}

td.value {
	padding: 0.1em 0.5em;
	white-space: nowrap;
	line-height: 120%;
}
</style>

</head>
<body>
	<%@include file="/html/nav.html"%><br />
	<br />
	<br />
	<h2>学生资料</h2>
	<form action="/AAA/editor.stu" method="post" id="editform">
		<table cellspacing="0" cellpadding="0" border="0" align="center">
			<tbody>
				<tr>
					<td class="label">昵称:</td>
					<td class="value"><input type="text" name="name1" id="name1"
						size="40" maxlength="1000" ${student.getInfo().nicheng} /></td>
					<td class="label">姓名:</td>
					<td class="value"><input type="text" name="name2" id="name2"
						size="40" maxlength="1000" value="${student.name}"
						required="required" /></td>
					<td class="label">登录密码:</td>
					<td class="value"><input type="text" name="pwd" id="pwd"
						size="40" maxlength="1000" value="${student.pwd}"
						required="required"></td>

				</tr>
				<tr>

					<td class="label">QQ:</td>
					<td class="value"><input type="text" name="QQ" id="QQ"
						size="40" maxlength="1000" required="required" pattern="[0-9]{1,}"></td>
					<td class="label">性别:</td>
					<td class="value"><select class="form-control" style="height:"
						name="sex">
							<option value="男">男</option>
							<option value="女">女</option>
					</select></td>
					<td class="label">生日:</td>
					<td class="value"><input type="date" name="birthday"
						id="birthday" size="40" maxlength="1000"></td>
				</tr>

				<tr>
					<td class="label">年龄:</td>
					<td class="value"><input type="text" name="age" id="age"
						size="40" maxlength="1000" ></td>
					<td></td>
					<td></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td class="label">手机:</td>
					<td class="value"><input type="tel" name="phone" id="phone"
						size="40" maxlength="1000" value="${student.phone}"
						required="required" pattern="[0-9]{6,11}"></td>
					<td class="label">邮箱:</td>
					<td class="value"><input type="email" name="email" id="email"
						size="40" maxlength="1000" value="${student.email}"
						required="required"></td>
					<td class="label">地址:</td>
					<td class="value"><input type="text" name="address"
						id="address" size="40" maxlength="1000"></td>
				</tr>
				<tr>
					<td class="label">紧急联系人1:姓名:</td>
					<td class="value"><input type="text"
						name="Emergencycontact1name" id="Emergencycontact1name" size="40"
						maxlength="1000" required="required"></td>
					<td class="label">关系:</td>
					<td class="value"><input type="text"
						name="Emergencycontact1relation" id="Emergencycontact1relation"
						size="40" maxlength="1000" required="required"></td>
					<td class="label">电话:</td>
					<td class="value"><input type="text"
						name="Emergencycontact1phone" id="Emergencycontact1phone"
						size="40" maxlength="1000" required="required"
						pattern="[0-9]{6,11}"></td>
				</tr>
				<tr>
					<td class="label">紧急联系人2:姓名:</td>
					<td class="value"><input type="text"
						name="Emergencycontact2name" id="Emergencycontact2name" size="40"
						maxlength="1000"></td>
					<td class="label">关系:</td>
					<td class="value"><input type="text"
						name="Emergencycontact2relation" id="Emergencycontact2relation"
						size="40" maxlength="1000"></td>
					<td class="label">电话:</td>
					<td class="value"><input type="text"
						name="Emergencycontact2phone" id="Emergencycontact2phone"
						size="40" maxlength="1000" pattern="[0-9]{6,11}" /></td>
				</tr>
				<tr>
					<td class="label">紧急联系人3:姓名:</td>
					<td class="value"><input type="text"
						name="Emergencycontact3name" id="Emergencycontact3name" size="40"
						maxlength="1000"></td>
					<td class="label">关系:</td>
					<td class="value"><input type="text"
						name="Emergencycontact3relation" id="Emergencycontact3relation"
						size="40" maxlength="1000"></td>
					<td class="label">电话:</td>
					<td class="value"><input type="text"
						name="Emergencycontact3phone" id="Emergencycontact3phone"
						size="40" maxlength="1000" pattern="[0-9]{6,11}"></td>
				</tr>
				<tr></tr>
				<tr>
					<td></td>
					<td></td>
					<td></td>
					<td></td>
					<td></td>
					<td class="value"><input type="submit" value="保存" /> <input
						type="reset" value="取消" /></td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>
